Skip to main content

GetPixelDataOfCanvas

Type​

operator

Summary​

Get the current contents of a canvas as raw pixel data

Syntax​

the pixel data of <Canvas>

Description​

Capture the current contents of the Canvas as raw pixel data in RGBA format with 8 bits per colour component, i.e. 32 bits or 4 bytes per pixel.

Parameters​

NameTypeDescription

Canvas

The canvas to be examined.

Value​

NameTypeDescription

return

The raw pixel values as binary data.

Thank you for your feedback!

Was this page helpful?